package com.ews.onlineexchange.service.observer;

import javax.ejb.Stateless;
import javax.enterprise.event.Event;
import javax.enterprise.event.Observes;
import javax.inject.Inject;

import com.ews.onlineexchange.service.qualifier.Important;

@Stateless
public class TestObserver {
	
	@Inject
	Event<String> event;
	
	public void listenTest(@Observes @Important String stringValue) {
		System.out.println("Observer found event:");
		System.out.println(stringValue);
	}

}
